import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
Vue.config.productionTip = false

//1.全局引入elementui框架（引入，验证是否能用）
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

//2.全局引入重置样式
import "./assets/css/reset.css"

//3.全局注册组件
import common from "./common/index.js"
/* 
  obj: {
     "vMb":vMb
     "vMb2":vMb2
     "age" : 20
   }
*/
for(let key in common){
  Vue.component(key,common[key])
}

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')





